.news .newsHeader {
    background-image: url(../img/news.jpg);
    height: 400px;
}

.news .newsHeader h1 {
    color: #fff;
    font-size: 40px;
    font-weight: normal;
    padding-top: 130px;
    padding-left: 250px;
}

.news .newsHeader p {
    padding-left: 250px;
    padding-top: 20px;
    color: #C0C0C0;
}

.banner {
    height: 60px;
    background-color: #f3f3f3;

}

.banner ul {
    margin-left: 250px;

}

.bannerBox {
    height: 60px;
    width: 150px;
    color: gray;
    display: flex;
    justify-content: center;
    align-items: center;
    float: left;
    margin-left: 20px;
    transition: all 0.5s;
    /* background-color: #006EC3; */
    /* border-left: 1px solid gray ; */
}

.bannerul li:first-child .bannerBox {
    /* 在这里设置第一个 .bannerBox 盒子的样式 */

    color: #fff;
    background-color: #006EC3;
}


.banner ul li {
    float: left;
    /* padding: 0 20px; */
    line-height: 100px;
    position: relative;
    z-index: 1;
    padding: 0 5px;
}

.banner ul li:not(:last-child)::after {
    content: "";
    position: absolute;
    width: 1px;
    height: 25px;
    background: #ddd;
    right: -10px;
    top: 50%;
    transform: translateY(-50%);
}


.bannerBox:hover {
    transition: all 0.5s;
    color: #fff;
    background-color: #006EC3;
}

.newsBox {
    height: 250px;
    background-color: #fff;
    margin: 50px 250px;
    border-bottom: 1px solid #ddd;
    display: flex;
}



.newsBox:hover h4,
.newsBox:hover p.text2,
.newsBox:hover .times p {
    color: #006EC3;
}

.newsBox:hover img {
    transform: scale(1.1);
}

.newsBox:hover .times {
    border: 1px solid #006EC3;
}

.newsLeft {
    flex: 1;
    /* 占据剩余空间的比例 */
    overflow: hidden;
    width: 300px;
    height: 200px;
}



.newsBox .newsLeft img {
    width: 100%;
    height: 100%;
    float: left;
    transition: all 0.5s;

}

.newsRight {
    flex: 2;
    /* 占据剩余空间的比例 */
}

.newsText {
    /* width: 200px; */
    margin: 20px 20px;
    /* margin-right: 80px; */
    height: 160px;
    /* border: 1px solid #ddd; */
}


.textBox h4 {
    font-size: 24px;
    font-weight: normal;
}

.textBox .text1 {
    color: #C0C0C0;
    font-size: 14px;
    margin: 20px auto;
    /* border: 1px solid #ddd; */
}

.textBox .text2 {
    font-size: 14px;
    margin: 20px auto;
    font-size: 15px;
    color: #c0c0c0;
}

.serviceBox:hover .textBox h4 {
    color: #006EC3;
}

.newsTime {
    flex: 0.5;

    /* width: 100px; */
    /* height: 80px; */
    /* background-color: pink; */
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 100px;
}

.times {
    width: 100px;
    height: 80px;
    background-color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    flex-direction: column;
    border: 1px solid #ddd;
}

.times p {
    text-align: center;
    color: #C0C0C0;
}

.times .date {
    font-size: 28px;
}

.time .month {
    font-size: 14px;
}

.pagination {
    display: flex;
    justify-content: center;
    margin: 30px auto 50px;
    /* border: 1px solid #ddd; */
}

button {
    padding: 8px 16px;
    margin: 0 5px;
    background-color: #fff;
    color: #000;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    border: 1px solid #ddd;
}

button:disabled {
    background-color: #C0C0C0;
    color: #fff;
    cursor: not-allowed;
}

button.inactive {
    background-color: #fff;
}

button.active {
    background-color: #1890FF;
    color: #fff;
    transition: all 0.5s;

}

button.inactive:hover {
    background-color: #1890FF;
    color: #fff;
    transition: all 0.5s;

}

.newsDetailBg {
    height: 100%;
    background-color: #ddd;
    display: flex;
    justify-content: center;
    /* 水平居中 */
    align-items: center;
    /* 垂直居中 */
}

.newsDetail {
    width: 80%;
    height: 95%;
    background-color: #fff;
    /* border: 1px solid #ddd; */
    margin: 30px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.newsDetail h2 {
    margin: 30px;
    text-align: center;
}

.newsDetail .newsTimes {
    margin: 20px 3%;
    font-size: 14px;
}

.newsDetail hr {
    width: 94%;
    margin: 0 3%;
    /* 使用 margin 属性水平居中 */
}

.newsDetail p {
    margin: 20px 3%;
    color: #707070;
}

.newsDetail img {
    margin: 20px 3%;
    width: 94%;
    box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.newsPages .left {
    font-size: 14px;
    align-self: flex-start; /* 居左对齐 */
}
.newsPages {
    display: flex;
    justify-content: space-between;
}

.newsPages .right {
    font-size: 14px;
    align-self: flex-end; /* 居右对齐    */
}

.newsPages .right a:hover {
    color: #006EC3;
}